package me.spring.cloud.components.starter.number;

import me.spring.cloud.common.components.number.rule.domain.BillNumberProperties;
import me.spring.cloud.components.starter.number.number.BillNumberConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

/**
 * 动态配置编号生成规则
 *
 * @author luffy
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableConfigurationProperties(BillNumberProperties.class)
@Import(BillNumberConfiguration.class)
public @interface EnableDynamicNumber {
}
